<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>lvm2</Name>
        <Homepage>http://sources.redhat.com/lvm/</Homepage>
        <BuildFlags>
            <Flag>clang</Flag>
        </BuildFlags>
        <Packager>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Userland logical volume management tools</Summary>
        <Description>LVM2 includes all of the support for handling read/write operations physical and logical volumes.</Description>
        <Archive sha1sum="1e04b3e70a2eaec7c037b0b07f063eacc434d3f2" type="targz">ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.173.tgz</Archive>
        <BuildDependencies>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>device-mapper</Name>
        <RuntimeDependencies>
        </RuntimeDependencies>
        <Summary>Light-weight kernel component can support user-space tools for logical volume management</Summary>
        <Description>Device-mapper includes the driver enables the definition of new block devices composed of ranges of sectors of existing devices to define disk partitions or logical volumes.</Description>
        <Files>
            <Path fileType="executable">/usr/sbin/dmsetup</Path>
            <Path fileType="executable">/usr/sbin/dmstats</Path>
            <Path fileType="library">/usr/lib/libdevmapper.a</Path>
            <Path fileType="library">/usr/lib/libdevmapper.so*</Path>
            <Path fileType="data">/lib/udev/rules.d/10-dm.rules</Path>
            <Path fileType="data">/lib/udev/rules.d/13-dm-disk.rules</Path>
            <Path fileType="data">/lib/udev/rules.d/95-dm-notify.rules</Path>
            <Path fileType="doc">/usr/share/doc/VERSION_DM</Path>
            <Path fileType="doc">/usr/share/doc/WHATS_NEW_DM</Path>
            <Path fileType="man">/usr/share/man/man8/dmsetup.8</Path>
            <Path fileType="man">/usr/share/man/man8/dmstats.8</Path>
        </Files>
        <!--Provides>
            <SCOM script="package.py">System.Package</SCOM>
        </Provides-->
    </Package>

    <Package>
        <Name>device-mapper-devel</Name>
        <Summary>Development libraries and headers for device-mapper</Summary>
        <Description>Device-mapper-devel contains files needed to develop applications that use the device-mapper libraries.</Description>
        <RuntimeDependencies>
            <Dependency release="current" >device-mapper</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libdevmapper.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/devmapper.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>device-mapper-event</Name>
        <Summary>Device-mapper event daemon</Summary>
        <Description>This package contains the dmeventd daemon for monitoring the state of device-mapper devices.</Description>
        <RuntimeDependencies>
            <Dependency release="current" >device-mapper</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/sbin/dmeventd</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event.a</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event.so*</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2thin.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2thin.so</Path>
            <Path fileType="man">/usr/share/man/man8/dmeventd.8</Path>
        </Files>
    </Package>

    <Package>
        <Name>device-mapper-event-devel</Name>
        <Summary>Development libraries and headers for the device-mapper event daemon</Summary>
        <Description>This contains contains files needed to develop applications that use the device-mapper event library.</Description>
        <RuntimeDependencies>
            <Dependency release="current" >device-mapper-event</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libdevmapper-event.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/devmapper-event.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>lvm2</Name>
        <Summary>Userland logical volume management tools</Summary>
        <Description>LVM2 includes all of the support for handling read/write operations on physical volumes,creating volume groups from one or more physical volumes and creating one or more logical volumes in volume groups.</Description>
        <RuntimeDependencies>
            <Dependency release="current">device-mapper</Dependency>
            <Dependency release="current">device-mapper-event</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/sbin/lvmconf</Path>
            <Path fileType="executable">/usr/sbin/blkdeactivate</Path>
            <Path fileType="executable">/usr/sbin/fsadm</Path>
            <Path fileType="executable">/usr/sbin/lv*</Path>
            <Path fileType="executable">/usr/sbin/vg*</Path>
            <Path fileType="executable">/usr/sbin/pv*</Path>
            <Path fileType="library">/usr/lib/liblvm2app.so*</Path>
            <Path fileType="library">/usr/lib/liblvm2cmd.so*</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2.so*</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2mirror.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2snapshot.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2mirror.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2snapshot.so</Path>
            <Path fileType="library">/usr/lib/libdevmapper-event-lvm2raid.so</Path>
            <Path fileType="library">/usr/lib/device-mapper/libdevmapper-event-lvm2raid.so</Path>
            <Path fileType="config">/etc/lvm</Path>
            <Path fileType="data">/etc/lvm/archive</Path>
            <Path fileType="data">/etc/lvm/backup</Path>
            <Path fileType="data">/etc/lvm/cache</Path>
            <Path fileType="data">/var/lock/lvm</Path>
            <Path fileType="data">/lib/udev/rules.d/11-dm-lvm.rules</Path>
            <Path fileType="data">/usr/lib/tmpfiles.d/lvm2.conf</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man/man5/lvm.conf.5</Path>
            <Path fileType="man">/usr/share/man/man7</Path>
            <Path fileType="man">/usr/share/man/man8/fsadm.8</Path>
            <Path fileType="man">/usr/share/man/man8/blkdeactivate.8</Path>
            <Path fileType="man">/usr/share/man/man8/*pv*</Path>
            <Path fileType="man">/usr/share/man/man8/*lv*</Path>
            <Path fileType="man">/usr/share/man/man8/*vg*</Path>
        </Files>
        <AdditionalFiles>
             <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/lvm2.conf">tmpfiles.conf</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>lvm2-devel</Name>
        <Summary>Development libraries and headers</Summary>
        <Description>This package contains files needed to develop applications that use the lvm2 libraries.</Description>
        <RuntimeDependencies>
            <Dependency release="current">lvm2</Dependency>
            <Dependency release="current">device-mapper-devel</Dependency>
            <Dependency release="current">device-mapper-event-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/lvm2cmd.h</Path>
            <Path fileType="header">/usr/include/lvm2app.h</Path>
            <Path fileType="data">/usr/lib/pkgconfig/lvm2app.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>dietlibc-libdevmapper</Name>
        <Summary>Static devmapper library built with dietlibc</Summary>
        <Description>device mapper contains ioctl library and utilities for use with logical volume management (LVM2) built with dietlibc</Description>
        <Files>
            <Path fileType="library">/usr/lib/dietlibc/lib-i386/libdevmapper.a</Path>
        </Files>
    </Package>

    <Package>
        <Name>device-mapper-static</Name>
        <Summary>Staticaly linked Device-mapper library and utility</Summary>
        <Description>device mapper contains statically linked libraries and utility for initramfs.</Description>
        <Files>
            <Path fileType="executable">/sbin/dmsetup.static</Path>
        </Files>
    </Package>

    <Package>
        <Name>lvm2-static</Name>
        <Summary>Staticaly linked Logical Volume Management utilities</Summary>
        <Description>Number of utilities for creating, checking, and repairing logical volumes - statically linked for initramfs.</Description>
        <Files>
            <Path fileType="executable">/sbin/lvm.static</Path>
            <Path fileType="library">/usr/lib/liblvm2app.a</Path>
            <Path fileType="library">/usr/lib/liblvm2cmd.a</Path>
        </Files>
    </Package>

    <History>
        <Update release="1">
            <Date>2018-12-28</Date>
            <Version>2.02.173</Version>
            <Comment>First release</Comment>
            <Name>Süleyman POYRAZ</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
